package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.Recruit;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/11/21
 * @description
 */
public interface RecruitMapper {
    List<Recruit> selectRecruits(@Param("position") String position, @Param("dept") String dept);

    void insertRecruit(Recruit recruit);

    void updateRecruitStatus(@Param("id") Integer id, @Param("isDelete") Integer isDelete,@Param("version") Integer version);

    void updateRecruit(Recruit recruit);

    void deleteRecruit(@Param("list") List<Integer> ids);

    List<Recruit> selectRecruitList(Integer limit);
}
